import request from '@/utils/request'

export function search(data) {
  return request({
    url: '/ticket/ticketSearch',
    method: 'post',
    data
  })
}

export function scenicSearch() {
    return request({
      url: '/ticket/scenicSearch',
      method: 'get'
      
    })
  }
  export function addTicket(data) {
    return request({
      url: '/ticket/addTicket',
      method: 'post',
      data
    })
  }
  
  export function del(data) {
    return request({
      url: '/ticket/del',
      method: 'post',
      data
    })
  }
  export function delAll(data) {
    return request({
      url: '/ticket/delAll',
      method: 'post',
      data
    })
  }